<@page.html title="其他属性设置">
<script type="text/javascript">
  function add() {
    var t = getEl("sl_type").value;
    if(t=="") {
      window.alert("请选择类别");
      return;
    }
    open2("add?type="+t);
  }
</script>
<div id="div_main">
  <div class="search">
    <form id="fm_query" action="_list">
      <dl>
        <dt>类别</dt>
        <dd><select id="sl_type" name="type"><#if dictType??><#list dictType as t><option value="${t.id}">${t.name}</option></#list></#if></select></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <dd class="oper"><#if canAdd??><a class="add" href="javascript:add();">新增</a></#if></dd>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
</div>
<div id="div_edit" style="display:none;"></div>
<script type="text/javascript">query();</script>
</@page.html>